package com.example.backend.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
@TableName("users_card_link")
@Data
public class UserCard{
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    @TableLogic
    @TableField(select = false)
    private String userId;
    private Integer cardId;
    private Date date;
    private Integer collect;
    @TableField(exist = false)
    private String category;
    @TableField(exist = false)
    private Integer cardOrder;
    @TableField(exist = false)
    private String imageSrc;
    @TableField(exist = false)
    private String roleImage;
}
